package DiscountEnum;

/**
 * 满减优惠枚举
 */
public enum FullReductionEnum {



    FullReduction_100(100.0, 10.0),

    FullReduction_110(110.0, 10.0),

    FullReduction_000(0.0, 0.0);

    private Double totalPrice;

    private Double discount;

    FullReductionEnum(Double totalPrice, Double discount) {
        this.totalPrice = totalPrice;
        this.discount = discount;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }
}
